package com.haiqi.modules.report.web;

import com.github.pagehelper.PageInfo;
import com.haiqi.common.BaseController;
import com.haiqi.common.bean.PageBean;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.HashMap;

/**
 * Created by hythzx on 2016/5/24.
 * 移泊申请
 */
@Controller
@RequestMapping("/manage/report/yibo")
public class YiboApplyController extends BaseController{

    private String menuCode = "yiboApply";

    @RequestMapping("/list")
    public String list(PageBean pageBean, HttpSession session, Model model){
        generateMenuCode(session, menuCode);
        model.addAttribute("pageInfo",new PageInfo<>());
        model.addAttribute("param",new HashMap<>());
        return "/modules/yibo/yiboApply";
    }
}
